/*
 * llc_state_machine.h
 *
 *  Created on: Apr 20, 2013
 *      Author: ILYA
 */

#ifndef LLC_CREATE_FRAME_H_
#define LLC_CREATE_FRAME_H_
#include "llc.h"
#include "common_def.h"
#include "crc16.h"

/*the port_pid parameter is Protocol Identifier(PID) this is same as port in application layer,
 * the *data field, is that data, which you want to transfer*/
int create_frame(struct pbuf *frame, char poll_bit, int type, int port_pid, data_type *data);

#endif /* LLC_CREATE_FRAME_H_ */
